blob: 3a0f55ec8e273545af3a92a9b886511ac79ba73c [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-fmt-merge-msg(1)
2====================
3
4NAME
5----
6git-fmt-merge-msg - Produce a merge commit message
7
8
9SYNOPSIS
10--------
Junio C Hamanoa9b8d242007-05-19 04:51:5511[verse]
Junio C Hamano3b4609d2010-09-30 00:04:3412'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] <$GIT_DIR/FETCH_HEAD
13'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] -F <file>
Junio C Hamano1a4e8412005-12-27 08:17:2314
15DESCRIPTION
16-----------
17Takes the list of merged objects on stdin and produces a suitable
18commit message to be used for the merge commit, usually to be
Junio C Hamano1aa40d22010-01-21 17:46:4319passed as the '<merge-message>' argument of 'git merge'.
Junio C Hamano1a4e8412005-12-27 08:17:2320
Junio C Hamanoc0e55e72009-10-10 00:56:2921This command is intended mostly for internal use by scripts
22automatically invoking 'git merge'.
Junio C Hamano1a4e8412005-12-27 08:17:2323
Junio C Hamano9882a522007-04-27 08:22:2224OPTIONS
25-------
26
Junio C Hamano3b4609d2010-09-30 00:04:3427--log[=<n>]::
Junio C Hamano9882a522007-04-27 08:22:2228In addition to branch names, populate the log message with
29one-line descriptions from the actual commits that are being
Junio C Hamano3b4609d2010-09-30 00:04:3430merged. At most <n> commits from each merge parent will be
31used (20 if <n> is omitted). This overrides the `merge.log`
32configuration variable.
Junio C Hamano9882a522007-04-27 08:22:2233
Junio C Hamano6d76d612008-05-09 05:46:0834--no-log::
Junio C Hamano9882a522007-04-27 08:22:2235Do not list one-line descriptions from the actual commits being
36merged.
37
Junio C Hamanoeb415992008-06-08 22:49:4738--summary::
39--no-summary::
Junio C Hamano6d76d612008-05-09 05:46:0840Synonyms to --log and --no-log; these are deprecated and will be
41removed in the future.
42
Junio C Hamano2db3e752010-09-03 21:33:0643-m <message>::
44--message <message>::
45Use <message> instead of the branch names for the first line
46of the log message. For use with `--log`.
47
Junio C Hamanoeb415992008-06-08 22:49:4748-F <file>::
49--file <file>::
Junio C Hamano9882a522007-04-27 08:22:2250Take the list of merged objects from <file> instead of
51stdin.
52
53CONFIGURATION
54-------------
55
Junio C Hamanoe0238c22012-02-23 22:45:5056merge.branchdesc::
57In addition to branch names, populate the log message with
58the branch description text associated with them. Defaults
59to false.
60
Junio C Hamano6d76d612008-05-09 05:46:0861merge.log::
Junio C Hamano3b4609d2010-09-30 00:04:3462In addition to branch names, populate the log message with at
63most the specified number of one-line descriptions from the
64actual commits that are being merged. Defaults to false, and
Junio C Hamano7165bf72011-01-04 22:06:1865true is a synonym for 20.
Junio C Hamano1a4e8412005-12-27 08:17:2366
Junio C Hamano6d76d612008-05-09 05:46:0867merge.summary::
68Synonym to `merge.log`; this is deprecated and will be removed in
69the future.
70
Junio C Hamano1a4e8412005-12-27 08:17:2371SEE ALSO
72--------
Junio C Hamano35738e82008-01-07 07:55:4673linkgit:git-merge[1]
Junio C Hamano1a4e8412005-12-27 08:17:2374
Junio C Hamano1a4e8412005-12-27 08:17:2375GIT
76---
Junio C Hamanof7c042d2008-06-06 22:50:5377Part of the linkgit:git[1] suite